﻿using System;

namespace UnityDemo
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Demo1.UnityTest test = new Demo1.UnityTest();
            Demo2.UnityTest test2 = new Demo2.UnityTest();

            //test.ContainerCodeTest();

            //test.ContainerConfigurationTest();

            //test.RegisterInstance();

            //test.TransientLifetimeManagerCode();

            //test.ContainerControlledLifetimeManagerCode();

            //test.HierarchicalLifetimeManagerCode();

            //test.PerThreadLifetimeManagerCode();

            //test.ExternallyControlledLifetimeManagerCode();

            //test2.ConstructorInjection();

            //test2.PropertyInjection();

            test2.MethodInjection();

            Console.ReadLine();
        }
    }
}